import request from '@/utils/request.js'

// 更新相亲会员打招呼
export function updateBlindMemberSayHello(data) {
  return request.put('app-api/blind/member-exchange/updateBlindMemberSayHello', data)
}

// 创建相亲会员打招呼
export function createBlindMemberSayHello(data) {
  return request.post('app-api/blind/member-exchange/createBlindMemberSayHello', data)
}

// 创建看过
export function getCommonPhrasesList(data) {
  return request.get('app-api/blind/basic/setting/getCommonPhrasesList', data)
}

// 诊室设置
export function getDoctorConsult(data) {
  return request.get('app-api/dybz/common-tools/getDoctorConsult', data)
}

// 预约设置
export function commonToolsGet(data) {
  return request.get('app-api/dybz/common-tools/get', data)
}

// 预约修改
export function createDoctorAppoint(data) {
  return request.post('app-api/dybz/common-tools/createDoctorAppoint', data)
}

// 获得大医本正医生常用药方分页
export function getDoctorPrescriptionPagepage(data) {
  return request.get('app-api/dybz/common-tools/getDoctorPrescriptionPage', data)
}

// 大医本正医生常用回复
export function getDoctorCommonRepliesPage(data) {
  return request.get('app-api/dybz/common-tools/getDoctorCommonRepliesPage', data)
}

// 创建大医本正医生常用回复
export function createDoctorCommonReplies(data) {
  return request.post('app-api/dybz/common-tools/createDoctorCommonReplies', data)
}

// 获得大医本正医生常用回复
export function getDoctorCommonReplies(data) {
  return request.get('app-api/dybz/common-tools/getDoctorCommonReplies', data)
}

// 获得大医本正医生常用回复
export function updateDoctorCommonReplies(data) {
  return request.put('app-api/dybz/common-tools/updateDoctorCommonReplies', data)
}

// 删除大医本正医生常用回复
export function deleteDoctorCommonReplies(data) {
  return request.delete(`app-api/dybz/common-tools/deleteDoctorCommonReplies?id=${data}`)
}

// 获得大医本正医生常用回复
export function getDoctorSettings(data) {
  return request.get('app-api/dybz/common-tools/getDoctorSettings', data)
}

// 创建大医本正医生问诊设置
export function createDoctorSettings(data) {
  return request.post('app-api/dybz/common-tools/createDoctorSettings', data)
}

// 获得大医本正药品列表列表
export function getDrugInfoList(data) {
  return request.get('app-api/dybz/prescription-info/getDrugInfoList', data)
}

// 获得大医本正药品煎法列表
export function getDrugDecoctionList(data) {
  return request.get('app-api/dybz/prescription-info/getDrugDecoctionList', data)
}

// 创建大医本正医生常用药方
export function createDoctorPrescription(data) {
  return request.post('app-api/dybz/common-tools/createDoctorPrescription', data)
}

// 获得大医本正医生常用药方
export function getDoctorPrescription(data) {
  return request.get('app-api/dybz/common-tools/getDoctorPrescription', data)
}

// 更新大医本正医生常用药方
export function updateDoctorPrescription(data) {
  return request.put('app-api/dybz/common-tools/updateDoctorPrescription', data)
}

// 删除大医本正医生常用回复
export function deleteDoctorPrescription(data) {
  return request.delete(`app-api/dybz/common-tools/deleteDoctorPrescription?id=${data}`)
}

// 获得我的处方信息分页
export function getDoctorRecipelPage(data) {
  return request.get('app-api/dybz/common-tools/getDoctorRecipelPage', data)
}

// 获得我的处方信息分页
export function dictDataType(data) {
  return request.get('app-api/system/dict-data/type', data)
}

// 获得大医本正医生常用处方
export function getDoctorRecipel(data) {
  return request.get('app-api/dybz/common-tools/getDoctorRecipel', data)
}

// 创建大医本正医生常用处方
export function createDoctorRecipel(data) {
  return request.post('app-api/dybz/common-tools/createDoctorRecipel', data)
}

// 更新大医本正医生常用处方
export function updateDoctorRecipel(data) {
  return request.put('app-api/dybz/common-tools/updateDoctorRecipel', data)
}

// 删除大医本正医生常用处方
export function deleteDoctorRecipel(data) {
  return request.delete(`app-api/dybz/common-tools/deleteDoctorRecipel?id=${data}`)
}
